package co.fitstart.weapp.api.service;

import java.math.BigDecimal;
import java.util.List;
import co.fitstart.entity.coach.CoachSigninStatistic;
import co.fitstart.entity.course.schedule.SigninRecord;
import co.fitstart.entity.principal.Principal;

/**
 * 
 * @author haiyan_xiao
 *
 */
public interface CourseHourRecordService {

    /**
     * 历史总销课课时数
     * @param coach
     * @return
     */
    public BigDecimal getTotalCourseHour(Principal coach);

    /**
     * 今日销课课时数
     * @param coach
     * @return
     */
    public BigDecimal getTodayCourseHour(Principal coach);

    /**
     * 每月销课课时数
     * @param coach
     * @return
     */
    public List<CoachSigninStatistic> listCoachSigninStatistic(Principal coach);

    /**
     * 
     * @param statisticId
     * @return
     */
    public CoachSigninStatistic loadCoachSigninStatistic(Long statisticId);

    /**
     * 销课记录，不含成单体验课+赠课
     * @param coach
     * @param month
     * @return
     */
    public List<SigninRecord> listCoachSigninRecord(Principal coach, String month);
}
